<template>
  <form :class="classes" :action="action" :lay-filter="filter"><slot></slot></form>
</template>
<script>
export default {
  name: 'form',
  props: {
    action: String,
    filter: {
      type: String,
      default: '*'
    }
  },
  computed: {
    classes () {
      return 'layui-form'
    }
  }
}
</script>
